<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>概述页</title>
    <link rel="icon" href="/mi/imgs/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/mi/css/common/header.css">
    <link rel="stylesheet" href="/mi/css/cart/overview_page.css">
    <link rel="stylesheet" href="/mi/css/iconfont/iconfont.css">
    <link rel="stylesheet" href="/mi/css/cart/add_cart.css">
    <link rel="stylesheet" href="/mi/css/common/page_bottom.css">
    <link rel="icon" href="/mi/imgs/favicon.ico" type="image/x-icon" />
    <style>
        .imgs img{
            height: 100%;
            width: 100%;
            padding: 0px;
            margin: 0px;
        }
    </style>
</head>
<body>
<!-- 定义头部 -->
<!-- 导航栏 -->
<%@include file="../common/header.jsp"%>
<!-- 定义头部end -->
<!-- start 手机概述参数导航栏 -->
<div class="cart_nav">
    <div class="cart_nav_container">
        <h2>${productInfoDTO.productName} </h2>
        <div class="left">
            <span>|</span>
            <a href="#">${productInfoDTO.productName}</a>
        </div>
        <div class="right">
            <a href="" onclick="function opg() {

            }">概述页</a>
            <span>|</span>
            <a href="/mi/product/parameter?productId=${productInfoDTO.productId}">参数页</a>
            <span>|</span>
            <a href="#">F码通道</a>
            <span>|</span>
            <a href="#">咨询客服</a>
            <span>|</span>
            <a href="/mi/comment/comment">用户评价</a>
            <a href="/mi/cart/add_cart?productId=${productInfoDTO.productId}" style="    display: inline-block;
    background: #ff6700;
    width: 118px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    color: #ffffff;" class="j_nav_buy">立即购买</a>
        </div>
    </div>
</div>
<!-- end 手机概述,参数导航栏 -->
<!-- 概述内容 -->

<div class="imgs">
    <c:forEach items="${overviewpageList}" var="tps">
    <img src="${tps.overviewPageUrl}" alt="">
    </c:forEach>
</div>
<!-- 底部 -->
<%@include file="../common/page-bottom.jsp"%>

<script>
    function opg() {
        window.location='/mi/product/overview?productId='+productId;
    }
</script>
</body>
</html>